/*
 * @Author: yangrongxin
 * @Date: 2021-04-15 13:49:48
 * @LastEditors: yangrongxin
 * @LastEditTime: 2021-08-03 15:39:12
 */
import RequestDecorator, { Controller } from '../decorator';

@Controller('/hhtmanager/auth/menu')
class Menu {
  // 查询所有的菜单树
  @RequestDecorator.Post()
  getAllMenu = '/queryall';

  // 更新当前菜单对应的按钮
  @RequestDecorator.Post()
  updateBtn = '/updatebtn';

  // 更新当前的菜单
  @RequestDecorator.Post()
  updateMenu = '/updatemenu';

  // 查询菜单详情
  @RequestDecorator.Post()
  findMenuDetails = '/querydetail';

  // 删除按钮
  @RequestDecorator.Post()
  deleteBtn: string = '/deletebtn';
}

export default Menu;
